/* ===============================
   GLOBAL RESETS
================================== */
a {
  all: unset;
  text-decoration: none;
  cursor: pointer;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  background: var(--color-bg);
  color: var(--text-main);
}

/* ===============================
   CSS VARIABLES (COLOR & TYPOGRAPHY)
================================== */
:root {
  --font-primary: 'Roboto';
  --color-bg: #141921;
  --color-surface: #1d2733;
  --color-card: #232f3f;
  --accent-primary: #2fc0fa;
  --accent-secondary: #87d3ff;
  --accent-muted: #4ca9dd;
  --text-main: #f0f6fa;
  --text-muted: #c2d1e0;
  --text-dark: #9bb3c9;
  --shadow-light: 0 6px 18px rgba(255, 255, 255, 1);
  --shadow-soft: 0 4px 10px rgba(0, 0, 0, 0.2);
  --shadow-medium: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-deep: 0 6px 18px rgba(0, 0, 0, 0.4);
}

/* ===============================
   NAVIGATION
================================== */
nav {
  width: 95%;
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  /* padding: 8px; */
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  background: var(--color-nav);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 15px;
  box-shadow: var(--shadow-soft);
  transition: background-color 0.3s ease;
  /* background: linear-gradient(to right, rgba(0, 169, 225, 0.24), hsla(0, 0%, 100%, 0.0)); */
  /* Animation: fade in from bottom */
  /* animation: fadeInUp 0.7s cubic-bezier(.23,.99,.75,.91) 0.1s both; */
}

.nav-left img {
  height: 70px;
   /* margin-top: 2px; */
  /* border-top-left-radius: 35px;
  border-top-right-radius: 6px;
  border-bottom-right-radius: 6px;
  border-bottom-left-radius: 35px; */
  /* padding: 3px; */ 
  background: linear-gradient(to right, rgb(255, 255, 255), hsla(0, 0%, 100%, 0.0));
  /* backdrop-filter: blur(20px); */
  background-color: rgba(0, 255, 255, 0);
  transition: background-color 0.9s ease, box-shadow 0.3s;
}

/* .nav-left img:hover {
  animation: logoGlow 1s;
} */

.menu-icon {
  display: none;
  font-size: 26px;
  cursor: pointer;
  color: var(--accent-secondary);
  transition: transform 0.3s ease;
}

.menu-icon:hover {
  transform: rotate(90deg);
}

#menu-toggle {
  display: none;
}

/* Nav links layout */
.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  position: relative;
  text-decoration: none;
  color: var(--text-main);
  font-size: 18px;
  padding: 10px 14px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.nav-links a i {
  margin-right: 8px;
  color: var(--accent-secondary);
  transition: filter 0.2s;
}

.nav-links a:hover {
  background-color: var(--color-surface);
  color: var(--color-white);
  transform: scale(1.04);
}

.nav-links a::after {
  /* Animated underline on hover */
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--accent-secondary);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
  animation: underlineGrow 0.3s forwards;
}

.nav-dropdown {
  position: relative;
}

#services-toggle {
  display: none;
}

.dropdown-label {
  position: relative;
  text-decoration: none;
  color: var(--text-main);
  font-size: 18px;
  padding: 10px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
}

.dropdown-label i {
  margin-right: 8px;
  color: var(--accent-secondary);
  transition: filter 0.2s;
}

.dropdown-label:hover {
  background-color: var(--color-surface);
  color: var(--color-white);
  transform: scale(1.04);
}

.dropdown-content {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-60%);
  background: #1a1a1a;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  display: none;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  z-index: 999;
  min-width: 800px;
}

/* Show dropdown on hover (desktop) */
@media screen and (min-width: 431px) {
  .nav-dropdown:hover .dropdown-content {
    display: grid;
  }
}

/* Dropdown links */
.dropdown-column h5 {
  color: var(--accent-secondary);
  font-size: 1rem;
  margin-bottom: 10px;
}

.dropdown-column a {
  display: block;
  color: #ccc;
  font-size: 0.95rem;
  margin: 6px 0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.dropdown-column a:hover {
  color: var(--accent-secondary);
}

.sticky-icon {
  position: fixed;
  top: 90vh;
  right: -0vh;
  background-color: white;
  color: var(--color-bg);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 22px;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  z-index: 1100;
  transition: background-color 0.3s ease;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sticky-icon:hover {
  background-color: var(--color-bg);
  color: white;
}

/* ===== STICKY WHATSAPP ICON ===== */
.Whatsapp_sticky-icon {
  position: fixed;
  top: 90vh;
  left: 20px;
  background-color: #25D366;
  color: white;
  padding: 8px 12px;
  border-radius: 50%;
  font-size: 30px;
  box-shadow: 0 0 10px rgba(0, 169, 225, 0.2);
  cursor: pointer;
  z-index: 1100;
  transition: background-color 0.3s ease, transform 0.3s ease;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: glowPulse 2.5s ease-in-out infinite;
}

.Whatsapp_sticky-icon {
  border: 2px solid rgba(0, 169, 225, 0.3);
}


/* Hover effect: slight lift */
.Whatsapp_sticky-icon:hover {
  background-color: var(--color-bg);
  color: white;
  transform: scale(1.05);
}

/* ===== Glow Pulse Animation ===== */
@keyframes glowPulse {
  0% {
    box-shadow: 0 0 6px rgba(0, 169, 225, 0.2);
  }

  50% {
    box-shadow: 0 0 12px rgba(0, 169, 225, 0.8);
  }

  100% {
    box-shadow: 0 0 6px rgba(0, 169, 225, 0.2);
  }
}


/* @media screen and (max-width: 600px) {
  .sticky-icon {
    top: 20px;
    right: 20px;
    font-size: 20px;
    padding: 6px 10px;
  }
} */

/* ===============================
   RESPONSIVE NAVIGATION
================================== */
@media screen and (max-width: 800px) {
  
  .nav-left{
  height: 35px;
}

  .nav-left img {
    height: 35px;
    /* border-radius: 10px; */
    /* padding: 3px; */
    background: rgba(255, 255, 255, 0.8);
    /* backdrop-filter: blur(20px); */
    transition: background-color 0.9s ease;
  }

  .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    align-items: center;
  }

  .nav-links a,
  .dropdown-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: clamp(14px, 2vw, 16px);
    padding: 8px 12px;
    white-space: nowrap;
    border-radius: 8px;
    transition: background-color 0.3s ease;
  }

  .nav-links a i,
  .dropdown-label i {
    display: none;
  }

  .dropdown-content {
    transform: translateX(-65%);
    grid-template-columns: repeat(auto-fit, minmax(155px, 1fr));
    min-width: 650px;
  }
}

@media screen and (max-width: 430px) {
  nav {
    width: 95%;
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--color-nav);
    border-radius: 15px;
    box-shadow: var(--shadow-soft);
    transition: background-color 0.3s ease;
  }

  .menu-icon {
    display: block;
    font-size: 28px;
    color: var(--accent-secondary);
    cursor: pointer;
    transition: transform 0.3s ease;
  }

  .menu-icon:hover {
    transform: rotate(90deg);
  }

  .nav-links {
    position: fixed;
    top: 80px;
    right: -100%;
    width: 100%;
    height: calc(99vh - 80px);
    display: flex;
    justify-content: start;
    flex-direction: unset;
    align-items: flex-start;
    gap: 20px;
    padding: 40px 24px;
    background: var(--color-surface);
    border-radius: 0 0 20px 20px;
    box-shadow: -4px 0 12px rgba(0, 0, 0, 0.3);
    transition: right 0.4s ease-in-out;
    z-index: 999;
    overflow-y: auto;
    
  }

  .dropdown-content {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 18px 0;
    color: white;
    transform: translateX(-0%);
    position: unset;
    min-width: 60px;
  }

  #menu-toggle:checked~.nav-links {
    right: 0;
  }

  .nav-links a {
    font-size: 18px;
    color: var(--text-main);
    width: 100%;
    padding: 14px 18px;
    border-radius: 12px;
    text-decoration: none;
    background-color: transparent;
    transition: background-color 0.3s ease, transform 0.3s ease;
  }

  .nav-links a:hover {
    background-color: rgba(255, 255, 255, 0.08);
    transform: translateX(4px);
  }

  .nav-links a i {
    margin-right: 10px;
    color: var(--accent-secondary);
  }

  .nav-dropdown {
    width: 100%;
  }

  .dropdown-label {
    display: block;
    font-size: 18px;
    color: var(--text-main);
    width: 100%;
    padding: 14px 18px;
    border-radius: 12px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }

  .dropdown-label:hover {
    background-color: rgba(255, 255, 255, 0.08);
  }

  .dropdown-content {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 25px 0;
    color: white;
    /* transform: translateX(-6%); */
    margin-top: 10px;
  }

  #services-toggle:checked~.dropdown-label+.dropdown-content {
    display: flex;
  }

  .dropdown-column {
    width: 100%;
  }

  .dropdown-column h5 {
    font-size: 1rem;
    color: var(--accent-primary);
    margin: 12px 0 6px;
  }

  .dropdown-column a {
    font-size: 16px;
    color: var(--text-subtle);
    padding: 6px 0;
    text-decoration: none;
    display: block;
    transition: color 0.3s ease;
  }

  .dropdown-column a:hover {
    color: var(--accent-secondary);
  }
}

/* ===============================
   HOME SECTION
================================== */
.home {
  padding: 50px 4% 30px;
  overflow: hidden;
  color: var(--text-main);
  margin-top: 8vh;
}

.homeCont {
  max-width: 100%;
  background: var(--color-card-bg);
  backdrop-filter: blur(15px);
  border-radius: 20px;
  padding: 10px;
  text-align: center;
  z-index: 1;
  color: var(--text-main);
  /* Fade in animation */
  animation: fadeInUp 1s ease-out forwards;
}

.home-heading {
  font-size: 42px;
  color: var(--color-white);
}

.home-heading span {
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
  color: var(--color-white);
}

.home-text p {
  margin-top: 20px;
  font-size: 16px;
  color: var(--color-soft-light);
  line-height: 1.7;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

/* ===============================
   SERVICES LIST
================================== */
.services-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-top: 20px;
  list-style: none;
  font-size: 15px;
  color: white;
  padding-left: 0;
}

.services-list li {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 14px;
  background-color: rgba(0, 167, 225, 0.25);
  transition: background-color 0.3s, transform 0.18s, box-shadow 0.18s;
  text-align: center;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.services-list li:hover {
  background: #141921;
  box-shadow: 0 6px 16px #2fc0fa22;
  cursor: pointer;
}

.services-list li i {
  font-size: 24px;
  color: var(--accent-primary);
  transition: filter 0.2s;
}

/* ===============================
   CONTACT HERO
================================== */
.contact-hero {
  background: linear-gradient(rgba(20, 25, 33, 0.1), rgba(0, 169, 225, 0.1)),
    url('./pcb-hero.jpg') center/cover fixed;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact-hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  background: linear-gradient(45deg, var(--accent-primary), var(--accent-secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  /* text-shadow: 2px 2px 15px rgba(47, 192, 250, 0.3); */
  animation: fadeInUp 0.8s ease-out;
}

/* ===============================
   MAIN CONTENT BLOCKS
================================== */
.mainBlock {
  width: 96%;
  margin: 48px auto 0px auto;
  /* background: rgba(0, 167, 225, 0.1);  */
  backdrop-filter: blur(10px);
  border-radius: 24px;
  /* box-shadow: 0 4px 24px rgba(0, 64, 83, 0.3); */
  padding: 48px 28px 36px 28px;
  animation: fadeIn 0.8s ease-out;
}

.service-section {
  margin-bottom: 56px;
  padding: 32px;
  background: rgba(0, 169, 225, 0.1);
  border-radius: 24px;
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.service-section:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(47, 192, 250, 0.01);
}

.service-section h2 {
  margin-top: 5%;
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: var(--accent-primary);
  text-align: center;
  padding-bottom: 15px;
  position: relative;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 24px;
  line-height: 1.6;
}

.service-image-row {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 32px 0;
  flex-wrap: wrap;
}

.service-image-row img {
  max-width: 48.5%;
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  object-fit: cover;
  height: 250px;
}

.service-image-row img:hover {
  transform: scale(1.01);
  box-shadow: 0 8px 25px rgba(0, 169, 225, 0.1);
}

.service-block {
  padding: 30px;
  margin: 25px 0;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  background: rgba(0, 169, 225, 0.10); 
}

/* .service-block:hover {
  transform: translateY(-3px);
} */

.service-block h3 {
  color: var(--text-main);
  font-size: 1.4rem;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-block h3 i {
  color: var(--accent-secondary);
}

.service-block ul {
  margin-left: 25px;
  line-height: 1.8;
}

.service-block li {
  color: var(--text-muted);
  margin-bottom: 10px;
  position: relative;
  padding-left: 5px;
}

/* ===============================
   PROCESS FLOW SECTION
================================== */
.process-flow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 30px 0;
  padding: 20px 0;
}

.process-block {
  background: rgba(0, 169, 225, 0.1);
  padding: 25px 20px;
  border-radius: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* .process-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.process-block:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
} */

.process-block:hover::before {
  opacity: 1;
}

.process-block i {
  font-size: 2em;
  margin-bottom: 15px;
  /* background: linear-gradient(45deg, var(--accent-primary), var(--accent-secondary)); */
  background: var(--accent-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ===============================
   MEDIA QUERIES FOR RESPONSIVENESS
================================== */
@media (max-width: 768px) {
  .mainBlock {
    width: 95%;
    padding: 24px 16px;
  }

  .service-section {
    padding: 24px 16px;
  }

  .service-section h2 {
    font-size: 1.8rem;
  }

  .process-flow {
    grid-template-columns: 1fr;
  }

  .service-image-row img {
    max-width: 100%;
    height: 200px;
  }
}

@media (max-width: 1200px) {
  .service-image-row img {
    max-width: 100%;
    /* height: 200px; */
  }
}

/* ===============================
   ANIMATIONS
================================== */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes gradientFlow {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* ===============================
   FOOTER
================================== */
.teqtis-global-footer {
  background-color: #111;
  color: #aaa;
  padding: 40px 20px;
}

.footer-columns {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  margin: 0 auto;
}

.footer-columns>div {
  flex: 1 1 260px;
  min-width: 260px;
}

.footer-columns h3,
.footer-columns h4 {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 16px;
}

.footer-columns p,
.footer-columns a {
  font-size: 0.95rem;
  line-height: 1.8;
  margin: 6px 0;
  text-decoration: none;
  color: #aaa;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(100px, 1fr));
  gap: 0px 24px;
}

.footer-links ul li a {
  display: block;
  padding: 2px 0;
  transition: color 0.3s ease;
}

.footer-links ul li a:hover {
  color: #0ff;
}

.footer-office i {
  margin-right: 8px;
}

.footer-office a:hover {
  color: #0ff;
}

.footer-copyright {
  text-align: center;
  padding: 20px 0;
  font-size: .7rem;
  color: #aaa;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 40px;
}

/* ===============================
   KEYFRAMES FOR ANIMATIONS
================================== */
@keyframes logoGlow {

  0%,
  100% {
    box-shadow: 0 0 0px #2fc0fa22;
  }

  50% {
    box-shadow: 0 0 16px #2fc0fa99;
  }
}

@keyframes underlineGrow {
  from {
    width: 0;
  }

  to {
    width: 100%;
  }
}







.hidden {
  display: none;
}

body.modal-open {
  overflow: hidden;
}

.form-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
}

.form-trigger-wrapper {
  width: fit-content; /* or a fixed width like 200px */
  margin: 0 auto;
}

.teqtis-button {
  background: linear-gradient(to right, var(--accent-primary), var(--accent-muted));
  color: white;
  font-size: 16px;
  padding: 12px 24px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  margin-bottom: 70px;
  align-items: center;
}

.teqtis-button:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-medium);
}

.form-backdrop {
  width: 100%;
  height: 100%;
  background: rgba(20, 25, 33, 0.8);
  backdrop-filter: blur(6px);
  display: flex;
  justify-content: center;
  align-items: center;
}

.teqtis-form-container {
  background: linear-gradient(to bottom right, hsla(266, 97%, 45%, 0.2), hsla(331, 99%, 45%, 0.2));
  padding: 30px;
  border-radius: 20px;
  max-width: 600px;
  width: 90%;
  box-shadow: var(--shadow-deep);
  color: var(--text-main);
  animation: fadeInUp 0.6s ease-out forwards;
}

.teqtis-form-container form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.teqtis-form-container input,
.teqtis-form-container textarea {
  padding: 12px 16px;
  border-radius: 10px;
  border: none;
  font-size: 15px;
  background-color: rgba(255, 255, 255, 0.9);
  color: black;
  box-shadow: var(--shadow-soft);
}

.teqtis-form-container textarea {
  resize: vertical;
  min-height: 100px;
}

.teqtis-form-container button[type="submit"] {
  background-color: var(--accent-primary);
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.teqtis-form-container button[type="submit"]:hover {
  background-color: var(--accent-muted);
}

.teqtis-form-container select {
  padding: 12px 16px;
  border-radius: 10px;
  border: none;
  font-size: 15px;
  background-color: rgba(255, 255, 255, 0.9); /* solid white background */
  color: rgb(0, 0, 0); /* readable text color */
  box-shadow: var(--shadow-soft);
  appearance: none;
  cursor: pointer;
  transition: box-shadow 0.3s ease;
}

.teqtis-form-container select:focus {
  outline: none;
  box-shadow: var(--shadow-medium);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
